<template>
  <div class="so">
    <el-input placeholder="在商店中搜索……" v-model="search">
      <el-button slot="append" icon="el-icon-search" @click="searchClick"></el-button>
    </el-input>
  </div>
</template>

<script>
export default {
  name: 'search',
  data() {
    return {
      search: ''
    }
  }
}
</script>

<style>
  .so {
    margin-top: 10px;
    width: 300px;
    float: right;
  }
</style>
